package com.basic.business.order.service;

import com.basic.business.order.domain.TOrdersMain;
import com.basic.common.core.service.IBaseService;

import java.util.List;

/**
 * 业务-订单主Service接口
 * 
 * @author zhaoxy_jn@163.com
 */
public interface ITOrdersMainService extends IBaseService<TOrdersMain> {

    /**
     * 获取未分配订单
     */
    public List<TOrdersMain> getUndistributedOrder(TOrdersMain tOrdersMain);

    /**
     * 查询我的任务
     */
    public List<TOrdersMain> getMyTasks(TOrdersMain main);

    /**
     * 查询超时订单个数
     */
    public int getOverdueCount(TOrdersMain tOrdersMain);

    /**
     * 查询超时订单个数
     */
    public int getOverdue24Count(TOrdersMain tOrdersMain);
}
